<?php
session_start();
  if (isset($_SESSION['k_username'])) {
include ("conexion.inc.php");
$link = Conectarse();
mysql_select_db("gotica_sociosgotica",$link);
$sql = "DELETE FROM logs ";
$resulta = mysql_query($sql);}
else
{
	echo "<SCRIPT LANGUAGE=\"javascript\">";
echo "location.href = \"index.php\"";
echo "</SCRIPT>";
	}
?>